<template>
  <el-switch
    v-model="value"
    :style="options.style"
    :size="size"
    inline-prompt
    active-text="是"
    inactive-text="否"
  />
</template>

<script setup lang="ts">
  export type ButtonOptions = {
    options: {
      label: String,
      style?:any
    },
    size?: string,
  }
  const props = defineProps<ButtonOptions>()
  const options = props.options||{}
  const size = props.size || 'default'
  const type = options.type || 'primary'
</script>

<style scoped>

</style>
